from PyQt5.QtWidgets import QDialog, QVBoxLayout


class ActionDialog(QDialog):
    def __init__(self, parent=None):
        super().__init__(parent)
        self.setWindowTitle("编辑动作")
        self.setModal(True)
        self.layout = QVBoxLayout(self)
        self.setMinimumWidth(220)

    def get_action(self):
        return self.action
